#include <sys/param.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/mount.h>

static const struct cfiattrdata audiobuscf_iattrdata = {
	"audiobus", 0, {
		{ NULL, NULL, 0 },
	}
};

static const struct cfiattrdata * const hdafg_attrs[] = { &audiobuscf_iattrdata, NULL };
CFDRIVER_DECL(hdafg, DV_DULL, hdafg_attrs);


static struct cfdriver * const cfdriver_ioconf_hdafg[] = {
	&hdafg_cd,
	NULL
};

extern struct cfattach hdafg_ca;

/* locators */
static int loc[1] = {
	-1,
};

static const struct cfparent pspec0 = {
	"hdaudiobus", NULL, 0
};

#define NORM FSTATE_NOTFOUND
#define STAR FSTATE_STAR

static struct cfdata cfdata_ioconf_hdafg[] = {
    /* driver           attachment    unit state loc   flags pspec */
/*  0: hdafg* at hdaudiobus? nid -1 */
    { "hdafg",		"hdafg",	 0, STAR, loc+  0,      0, &pspec0 },
    { NULL,		NULL,		 0, 0,    NULL,      0, NULL }
};

static struct cfattach * const hdafg_cfattachinit[] = {
	&hdafg_ca, NULL
};

static const struct cfattachinit cfattach_ioconf_hdafg[] = {
	{ "hdafg", hdafg_cfattachinit },
	{ NULL, NULL }
};
